<?php


namespace App\Service\Http;

use Illuminate\Contracts\Support\DeferrableProvider;
use Illuminate\Support\ServiceProvider;

class HttpServiceProvider extends ServiceProvider implements DeferrableProvider
{

    function register()
    {

        $this->app->singleton(HttpInterface::class,function ($app){

            return new Guzzle;
        });


    }


    function boot(){

    }

    function provides()
    {
        return [HttpInterface::class];
    }
}
